The direction `gravity` pulls in, in degrees (0 = east, counterclockwise). Defaults to 270 (straight down); 90 points straight up.
gravity_dir: realThe direction gravity pulls in, in degrees, measured exactly the same way as direction: 0 is east, and it increases counterclockwise, so 90 points up and 270 points down - one single angle convention shared by every direction-shaped field in the engine, gravity_dir included, with no separate rule to learn for this one. Defaults to 270 (straight down), since that's what almost every project wants, but nothing stops a sideways wind or an upward pull instead.
gravity = 0.05;
gravity_dir = 290;A gentle pull that is mostly downward but drifts slightly sideways too - 290 degrees instead of a plain 270, for something like a falling leaf.